<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
	<title>欢迎光临奕雪的茶</title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<link type="text/css" rel="stylesheet" href="css/bootstrap.css">
	<link type="text/css" rel="stylesheet" href="css/style.css?v=20210222">
	<script type="text/javascript" src="js/jquery.min.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
	<script type="text/javascript" src="js/simpleCart.min.js"></script>
</head>
<style>
	.bargoud {
		background-image: url("/images/login_bourd.jpg");
		background-repeat: no-repeat;
	}
</style>
<body>

	

	<jsp:include page="/header.jsp"></jsp:include>

	
	<!--account-->
	<div class="account">
		<div class="loginContainer">
			<div class="register bargoud">
				<c:if test="${!empty msg }">
					<div class="alert alert-danger">${msg }</div>
				</c:if>
				<form action="${pageContext.request.contextPath }/user_register" method="post"> 
					<div class="register-top-grid">
						<h3>欢迎光临奕雪的茶</h3>
						<div class="input" style="width: 400px;margin-left: 32.5%">
							<span>账号 <label style="color:red;">*</label></span>
							<input class="form-control"  type="text" name="username" placeholder="请输入账号" required="required">
						</div>
						<div class="input" style="width: 400px;margin-left: 32.5%">
							<span>邮箱 <label style="color:red;">*</label></span>
							<input class="form-control"  type="text" name="email" placeholder="请输入邮箱" required="required">
						</div>
						<div class="input" style="width: 400px;margin-left: 32.5%">
							<span>密码 <label style="color:red;">*</label></span>
							<input class="form-control"  type="password" name="password" placeholder="请输入密码（必须包含数字和字母，长度大于等于八）" required="required">
						</div>
						<div class="input" style="width: 400px;margin-left: 32.5%">
							<span>收货人<label></label></span>
							<input class="form-control"  type="text" name="name" placeholder="请输入收货人姓名">
						</div>
						<div class="input" style="width: 400px;margin-left: 32.5%">
							<span>收货电话<label></label></span>
							<input class="form-control"  type="text" name="phone" placeholder="请输入收货电话">
						</div>
						<div class="input" style="width: 400px;margin-left: 32.5%">
							<span>收货地址<label></label></span>
							<input class="form-control"  type="text" name="address" placeholder="请输入收货地址">
						</div>
						<div class="clearfix"> </div>
					</div>
					<div class="register-but text-center">
						<a href="${pageContext.request.contextPath }/user_login.jsp" >登录</a>
					    <input type="submit" value="注册">
					   <div class="clearfix"> </div>
					</div>
				</form>
				<div class="clearfix"> </div>
			</div>
	    </div>
	</div>
	<!--//account-->

	<jsp:include page="/footer.jsp"></jsp:include>

	
</body>
</html>